﻿using System;

namespace com.foxmail.wyyuan1991.Assignment
{
    //配流算法
    public interface IAssignmentAlgorithm
    {
        IFlowPattern Solve(INetwork net,IDemand f);
    }
    //路径搜索算法
    public interface IRouteSearchAlgorithm
    {
        INetwork Network { get; set; }
        CostMatrix c { get; set; }
        IRoute SearchRoute(INode sNode, INode eNode);
    }
    //一维搜索算法
    public interface ILineSearchSolver
    {
        double Search(Func<double, double> df, double a, double b);
    }
}
